package br.ufc.great.dtxtester.config;

import java.io.Serializable;
import java.util.Vector;

import br.ufc.great.client.DTXOperation;
import br.ufc.great.client.DTXTransaction;

/**
 * 
 * @author Leonardo Oliveira Moreira
 *
 * Classe que representa um site do DTX
 */
public class ConfigSite implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3059833550859648110L;
	
	private String host;
	private int port;
		
	//private int numberClients;
	//private int numberTransactions;
	//private int percentUpdateTransactions;
	//private int numberOperations;
	//private int percentUpdateOperations;
	
	/**
	 * Construtor
	 * 
	 * @param host
	 * @param port
	 */
	public ConfigSite(String host, int port) {
		this.host = host;
		this.port = port;
		//numberClients = 0;
		//numberTransactions = 0;
		//percentUpdateTransactions = 0;
		//numberOperations = 0;
		//percentUpdateOperations = 0;
	}
	
	/**
	 * Método utilizado para recuperar o host do site
	 * 
	 * @return
	 */
	public String getHost() {
		return host;
	}
	
	/**
	 * Método utilizado para configurar o host do site
	 * 
	 * @param host
	 */
	public void setHost(String host) {
		this.host = host;
	}
	
	/**
	 * Método utilizado para recuperar a porta do site
	 * 
	 * @return
	 */
	public int getPort() {
		return port;
	}
	
	/**
	 * Método utilizado para configurar a porta do site
	 * 
	 * @param port
	 */
	public void setPort(int port) {
		this.port = port;
	}
	
}
